Fix typos.
authorBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 7 Apr 2017 09:32:11 +0000 (16:32 +0700)
committerBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 7 Apr 2017 09:32:11 +0000 (16:32 +0700)
src/cargo/ops/cargo_generate_lockfile.rs
src/cargo/ops/cargo_new.rs

index 989534cea79b454ec60ccfd7e6f455948619a367..510f3d1c65a153a9c18e11dc01d0551435ab44ab 100644 (file)
@@ -146,7 +146,7 @@ pub fn update_lockfile(ws: &Workspace, opts: &UpdateOptions)
                 // we'll let it through.
                 //
                 // Note that we only check this for non-registry sources,
-                // however, as registries countain enough version information in
+                // however, as registries contain enough version information in
                 // the package id to disambiguate
                 if a.source_id().is_registry() {
                     return false
index 088e4c5b44c2e2bbf128cd4ece899c66c976e1fd..195c6efaf753ccc18c99d167dbbf2f9c2058deca 100644 (file)
@@ -418,7 +418,7 @@ fn mk(config: &Config, opts: &MkOptions) -> CargoResult<()> {
     };
 
     let (author_name, email) = discover_author()?;
-    // Hoo boy, sure glad we've got exhaustivenes checking behind us.
+    // Hoo boy, sure glad we've got exhaustiveness checking behind us.
     let author = match (cfg.name, cfg.email, author_name, email) {
         (Some(name), Some(email), _, _) |
         (Some(name), None, _, Some(email)) |
@@ -430,7 +430,7 @@ fn mk(config: &Config, opts: &MkOptions) -> CargoResult<()> {
 
     let mut cargotoml_path_specifier = String::new();
 
-    // Calculare what [lib] and [[bin]]s do we need to append to Cargo.toml
+    // Calculate what [lib] and [[bin]]s do we need to append to Cargo.toml
 
     for i in &opts.source_files {
         if i.bin {